projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec2257e
)
wayland: Clear more thoroughly the source-side data on dnd_finished
author
Carlos Garnacho
<carlosg@gnome.org>
Wed, 9 Mar 2016 16:27:07 +0000
(17:27 +0100)
committer
Carlos Garnacho
<carlosg@gnome.org>
Wed, 9 Mar 2016 17:39:15 +0000
(18:39 +0100)
The targets should also be unset.
gdk/wayland/gdkselection-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkselection-wayland.c
b/gdk/wayland/gdkselection-wayland.c
index 1826bb2daf8247014a24462b92347adf75b732e9..8a9d1ee825301cf503aeac166ed26a3d32558df9 100644
(file)
--- a/
gdk/wayland/gdkselection-wayland.c
+++ b/
gdk/wayland/gdkselection-wayland.c
@@
-964,7
+964,7
@@
data_source_dnd_finished (void *data,
g_signal_emit_by_name (context, "dnd-finished");
gdk_selection_owner_set (NULL, atoms[ATOM_DND], GDK_CURRENT_TIME, TRUE);
- gdk_wayland_selection_
unset_data_source
(display, atoms[ATOM_DND]);
+ gdk_wayland_selection_
clear_targets
(display, atoms[ATOM_DND]);
}
static void